# basic_path_generator_init/main.py

import sys
import os
from PyQt5.QtWidgets import QApplication

from basic_path_generator.view import PathAnalyzerGUI


def main():
    app = QApplication(sys.argv)

    # 设置应用程序样式
    app.setStyle("Fusion")

    # 设置全局字体
    from PyQt5.QtGui import QFont
    app.setFont(QFont("Segoe UI", 10))

    window = PathAnalyzerGUI()
    window.show()
    sys.exit(app.exec_())


if __name__ == "__main__":
    main()
